package Presentation;

import javax.swing.JPanel;

import Controlor.CColonne;

public class PColonne extends JPanel {
	
	private CColonne controller;
	private PTasDeCartes cachees,visibles;
	
	public PColonne (CColonne controller,PTasDeCartes cachees,PTasDeCartes visibles){
		this.controller = controller;
		setSize(PCarte.largeur+10,300);
		this.cachees = cachees;
		this.cachees.align=PTasDeCartes.VERTICAL;
		this.cachees.setBounds(2, 2, PCarte.largeur, this.cachees.getHeight());
		this.visibles = visibles;
		this.visibles.align = PTasDeCartes.VERTICAL;
		this.visibles.setBounds(2, 0, PCarte.largeur, this.visibles.getHeight());
		add(cachees);
		add(visibles);
		setVisible(true);
	}
	
}
